﻿using UnityEngine;
using System.Collections;

public class PlayANi : MonoBehaviour {


	// Use this for initialization
	void Start () {
	}
	void OnGUI() {
		if (GUI.Button (new Rect(0, 0, 100, 100),"Play")) {
			var ani = GetComponent<Animation> ();
			ani.Play ();

		}
	}
	// Update is called once per frame
	void Update () {
	
	}
}
